/**
 * 
 */
function titleInit(){
	var btnLogin;
	var btnLogout;
	
	btnLogin = document.getElementById("btnlogin");
	btnLogout = document.getElementById("btnlogout");
	
	if(btnLogin != null){
		btnLogin.onclick = function(){
			var f = document.frm;
			if(f.mid.value == "" || f.pwd.value==""){
				alert("아이디,암호 입력해!!");
			}else{
			f.submit();
			}
		}
	}
	
	if(btnLogout != null){
		btnLogout.onclick = function(){
			location.href="logout.jsp";
		}
	}
}